/*
 * The build will inline common dependencies into this file.
 * For any third party dependencies, like jQuery, place them in the vendor folder.
 * Copyright© 2014-2015 Vamaker All Rights Reserved. 
 */

require.config({
  baseUrl: '../../src/',
  paths: {
    // 3rd deps.
    jquery: "js/vendor/jquery-1.10.2.min",
    bootstrap: "js/vendor/bootstrap",
    highcharts: "js/vendor/highcharts",
    raphael: "js/vendor/raphael.min",
    morris: "js/vendor/morris.min",
    'jquery.cookie': "js/vendor/jquery.cookie",
    spin: "js/vendor/spin",
    datatables: "js/vendor/jquery.dataTables",
    dataTables_bs: "js/vendor/dataTables.bootstrap",
    dataTables_rsp: "js/vendor/dataTables.responsive",
    dataTables_fh: "js/vendor/dataTables.fixedHeader",
    messager: "js/vendor/messenger/messenger",
    "bootstrap-dialog": "js/vendor/bootstrap-dialog",
    "bootstrap-switch": "js/vendor/bootstrap-switch",
    formAjax: "js/vendor/jquery.form",
    select2: "js/vendor/select2",
    jqueryUi: "js/vendor/jquery-ui",
    moment: "js/vendor/moment",
    daterangepicker: "js/vendor/daterangepicker",
    flowplayer: "js/vendor/flowplayer/flowplayer",
    "jquery.ui.widget": "js/vendor/jquery.ui.widget",
    uploadFiles: "js/vendor/jquery.fileupload",
    store: "js/vendor/store",
    holder: "js/vendor/holder",
    tree: "js/vendor/tree.jquery",
    "amcharts": "js/vendor/amcharts",
    "amcharts.serial": "js/vendor/serial",
    "amcharts.pie": "js/vendor/pie",
    jsTree: "js/vendor/jsTree",

    // Module deps.
    adspaceSize: "js/modules/adspaceSize",
    backToTop: "js/modules/backToTop",
    creativeList: "js/modules/creativeList",
    dataTable: "js/modules/dataTable",
    dataTableFilter: "js/modules/dataTableFilter",
    dateRange: "js/modules/dateRange",
    formChecky: "js/modules/formChecky",
    multiFormValidator: "js/modules/multiFormValidator",
    formValidator: "js/modules/formValidator",
    func: "js/modules/func",
    geoList: "js/modules/geoList",
    listAsyncOp: "js/modules/listAsyncOp",
    loading: "js/modules/loading",
    notification: "js/modules/notification",
    pageInit: "js/modules/pageInit",
    params: "js/modules/params",
    reportList: "js/modules/reportList",
    siderMenu: "js/modules/siderMenu",
    slidePanel: "js/modules/slidePanel",
    tableColumnResize: "js/modules/tableColumnResize",
    timeInterval: "js/modules/timeInterval",
    topHeader: "js/modules/topHeader",
    urlValidator: "js/modules/urlValidator",
    materialPreview: "js/modules/materialPreview",
    languageMap: "js/modules/languageMap",
    app: "js/app",
    notice: "js/modules/notice"
  },
  shim: {
    bootstrap: {
      deps: ["jquery"]
    },
    highcharts: {
      deps: ["jquery"]
    },
    raphael: {
      exports: "Raphael"
    },
    morris: {
      deps: ["raphael"]
    },
    messager: {
      deps: ["jquery"]
    },
    "bootstrap-dialog": {
      deps: ["bootstrap"]
    },
    "bootstrap-switch": {
      deps: ["jquery"]
    },
    daterangepicker: {
      deps: ['moment']
    },
    'flowplayer': {
      deps: ['jquery']
    },
    'tree': {
      deps: ['jquery']
    },
    "amcharts.serial": {
      deps: [ 'amcharts' ]
    },
    'amcharts.pie': {
      deps: [ 'amcharts' ]
    }
  },
  waitSeconds: 30
});